package com.composite.self;

public class Client {

    public static void main(String[] args) {
        Department department = new Department("信息系","专攻于信息技术");
        College college = new College("计算机学院","主攻极");
        University university = new University("温州大学","一所综合性大学");
        college.addBaseOrganization(department);
        university.addBaseOrganization(college);
        university.print();
    }
}
